//
//  PickNumP3ListViewController.h
//  PlayBall
//
//  Created by Sun Fanglei on 13-5-17.
//
//

#import "JddBaseViewController.h"
#import "JddFc3dNumber.h"
#import "JddSelectFiveListItemCell.h"
#import "JddSelectFive3ListItemCell.h"
#import "JddBuyLotteryOperation.h"
#import "JddAgreeLotteryForFooterView.h"

@interface JddPickNumP3ListViewController : JddBaseViewController<UIAlertViewDelegate,UITextFieldDelegate,UIGestureRecognizerDelegate,UITableViewDataSource,UITableViewDelegate,SelectFiveListItemCellDelegate,SelectFive3ListItemCellDelegate,BuyLotteryOperationDelegate,JddAlertViewDelegate>{
    JddAgreeLotteryForFooterView *agreeLotteryForFooterView;

    NSMutableArray *numberArrayTemp;
    /**
     注数
     */
    NSInteger     noteAmount;
    NSMutableString *discountNo;
    NSNumber        *discountAmount;
    JddAlertView    *alert1;
    BOOL            *loginstate;
    NSMutableArray *numberArray;
    bool            isNeedAdd;
}

SHARED_VIEW_CONTROLLER_DECLARE(JddPickNumP3ListViewController);

/**
 临时玩法，从选号页面直接获取到
 */
@property int PlayMethodTemp;
/**
 当前玩法
 */
@property int PlayMethod;
/**
 当前期次信息
 */
@property (strong, nonatomic) JddLotteryIssue *currentLotteryIssue;
@property (strong, nonatomic) IBOutlet UITableView *lotNumListTableView;
@property (strong, nonatomic) IBOutlet UITextField *mutiTextField;
@property (strong, nonatomic) IBOutlet UILabel *countLabel;
@property (strong, nonatomic) IBOutlet UILabel *moneyLabel;
@property (strong, nonatomic) IBOutlet UIScrollView *bgScrollView;
@property (strong, nonatomic) IBOutlet UIButton *buybutton;
@property NSMutableArray *numberArray;

/**
 获取从选号页面传过来的投注号码
 */
- (void)numberFromArray:(NSArray*)arrayTemp;

- (IBAction)continueChooseBtnClick:(id)sender;
- (IBAction)addRandomBtnClick:(id)sender;
- (IBAction)reduceMutiBtnClick:(id)sender;
- (IBAction)addMutiBtnClick:(id)sender;
- (IBAction)clearBtnClick:(id)sender;
- (IBAction)doneBtnClick:(id)sender;
//- (IBAction)checkValueTextField:(id)sender;
- (IBAction)editDoneTextField:(id)sender;
- (void)destoryView;

- (IBAction)coBuyBtnClick:(id)sender;
@end
